// TOWN SCRIPT
//    Town 1: Dragonite Camp

// This is the special encounter script for this town.
// The states INIT_STATE, EXIT_STATE, and START_STATE have
// meanings that are described in the documenation. States you write
// yourself should be numbered from 10-100.

begintownscript;

variables;

int i,j,k,lvl,choice;

body;

beginstate INIT_STATE;
// This state called whenever this town is entered.
	if (get_flag(0,1) == 0) {
		reset_dialog_preset_options(0);
		add_dialog_str(0,"The sunlight in this secluded little area is almost entirely blocked out by the trees and cliff sides. It's almost like a cave.",0);
		choice = run_dialog(0);
		if (choice == 1)
			set_flag(0,1,1);
	}

	add_range_to_group(6,19,1);

	set_crime_tolerance(5);

break;

beginstate EXIT_STATE;
// Always called when the town is left.
break;

beginstate START_STATE;
break;

beginstate 10;
break;